package com.scu.bank.model.vo;

import com.scu.bank.util.json.JsonFieldProperty;

import java.util.List;

public class Menu {
    private String title;
    private String path;
    private String icon;
    @JsonFieldProperty(JsonPropertyType= JsonFieldProperty.JsonPropertyType.JsonList,cls=Menu.class)
    private List<Menu> subitems;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<Menu> getSubitems() {
        return subitems;
    }

    public void setSubitems(List<Menu> subitems) {
        this.subitems = subitems;
    }
}
